//
//  AFNetWorkingWrapper.h
//  SmartCity
//
//  Created by csc on 14/12/23.
//  Copyright (c) 2014年 com.SmartCity. All rights reserved.
//

#import <Foundation/Foundation.h>
//#import "AFHTTPRequestOperationManager.h"

@interface AFNetWorkingWrapper : NSObject


//#pragma mark - 检测网络连接状态
//+ (void)startMonitorNetWorkStatus:(void (^)(AFNetworkReachabilityStatus status))block;
//
//
///*!
// *  http post json 返回 json对象
// *
// *  @param dict    post数据
// *  @param url     接口url
// *  @param success 成功block,返回json对象
// *  @param fail    失败block
// */
//+ (void)PostAndAcceptJson:(NSDictionary *)dict URL:(NSString *)url
//               Success:(void (^)(AFHTTPRequestOperation *operation,id jsonObject))success
//               Failure:(void(^)(AFHTTPRequestOperation *operation,NSError *error))fail;
//
//
//
///*!
// *  http post json,返回NSData对象,自己负责解析
// *
// *  @param dict    post数据
// *  @param url     接口ulr
// *  @param success 成功block,返回NSData对象
// *  @param fail    失败block
// */
//+ (void)PostJson:(NSDictionary *)dict URL:(NSString *)url
//                  Success:(void (^)(AFHTTPRequestOperation *operation,id responseObject))success
//                  Failure:(void(^)(AFHTTPRequestOperation *operation,NSError *error))fail;
//
///*!
// *  test
// */
//+ (void)GetJson:(NSDictionary *)dict URL:(NSString *)strUrl  Success:(void (^)(AFHTTPRequestOperation *operation,id responseObject))success
//        Failure:(void(^)(AFHTTPRequestOperation *operation,NSError *error))fail;


@end
